//
//  AXFNewFeatureController.m
//  爱鲜蜂
//
//  Created by HH on 16/11/12.
//  Copyright © 2016年 胡浩. All rights reserved.
//

#import "AXFNewFeatureController.h"
#import "AXFNewFeatureView.h"


@interface AXFNewFeatureController ()

@property (nonatomic,weak)UIScrollView *scrollView;

@end

@implementation AXFNewFeatureController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Do any additional setup after loading the view.
}


- (void)setupUI
{
    AXFNewFeatureView *newFeatureView = [[AXFNewFeatureView alloc] initWithFrame:[UIScreen mainScreen].bounds];
    
//    newFeatureView.delegate = self;
    
    [self.view addSubview:newFeatureView];
}

#pragma mark - 代理方法:替换跟视图控制器
//- (void)displayMainController
//{
//    AXFTabBarController *tabBarController = [[AXFTabBarController alloc] init];
//    
//    self.view.window.rootViewController = tabBarController;
//    
//}

//验证是否被销毁
- (void)dealloc
{
    NSLog(@"delloc");
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
